import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueRouter from "vue-router";
import router from './router';
import axios from 'axios';
import store from './store';
Vue.prototype.$axios = axios
axios.defaults.withCredentials=true
axios.defaults.baseURL='api'
Vue.config.productionTip = false

Vue.use(ElementUI);
Vue.use(VueRouter)
new Vue({
  store,
  router,
  render: h => h(App),
}).$mount('#app')
